#include "convertFromRgbToHsv2.h"

Result test2() {
	IplImage* img = cvLoadImage("C:\\Documents and Settings\\snirbo\\Desktop\\convertFromRgbToHsv\\schiffer.bmp");
	int* new_data = ConvertFromRgbToHsv(img);
	if (new_data == 0) {
		return printTestResult(2, FAIL);
	} else {
		return printTestResult(2, SUCCESS);
	}
}

#ifdef __TEST2__
int main(int argc, char **argv) {
	if (!test1() || !test2()) {
		cout << "TOTAL TEST FAILED!\n";
		getchar();
		exit(1);
	}
	cout << "TOTAL TEST SUCCEEDED\n";
	getchar();
	return 0;
}
#endif